{$CLEO .cm}

  $onmission = 2 
{
   sssss

}   
 
04ED: load_animation  "RIOT"
fade 0 500
wait 500
fade 1 500 
 const
  playeR_car = 0@
  asset_marker = 1@ 
  1_ASSET_WAYPOINT = 1000@ 
  1_ASSET_TARGET_MARKER = 1001@  
  
  1_dummy_object = 1002@ 
  1_objectspeed = 1004@ 
  2_checkpoint = 1003@ 
  give_points = 75@
 end
 
model.Load(#BALLAS2) 
model.Load(#WFYCLOT) 
model.Load(#WMYGOL1) 
model.Load(#MALE01) 
model.Load(#VLA1) 
model.Load(#BF400) 
model.Load(#SENTINEL) 
model.Load(#ADMIRAL) 
model.Load(1946)
model.Load(3060) 
038B: load_requested_models
actor.PutAt($player_actor,  4634.0112, -1892.006, 10.5523)
actor.Angle($player_actor)= 182.4456
301@=actor.Create(civmale, #VLA1,5358.6753, -2173.2332, 42.5153 )
actor.Angle(301@)=115.5903 
302@=actor.Create(civmale, #WFYCLOT, 5356.5728, -2170.0911, 42.5153)
actor.Angle(302@)= 121.662
303@=actor.Create(civmale, #BALLAS2, 5349.6255, -2162.8064, 42.5153)
actor.Angle(303@)=126.4811 
304@=actor.Create(civmale, #WMYGOL1,5353.6738, -2166.1545, 42.5153 )
actor.Angle(304@)=127.5189 
305@=car.Create(#SENTINEL, 5369.2666, -2169.4929, 42.5153)
car.Angle(305@)= 111.2869
306@=car.Create(#ADMIRAL, 5364.4609, -2161.6335, 42.5153)
car.Angle(306@)=108.7474 
0605: actor 301@ perform_animation "RIOT_shout" IFP "RIOT" framedelta 4.0 loop 1 lockX 0 lockY 0 lockF 0 time -1
0605: actor 302@ perform_animation "RIOT_CHANT" IFP "RIOT" framedelta 4.0 loop 1 lockX 0 lockY 0 lockF 0 time -1
0605: actor 303@ perform_animation "RIOT_shout" IFP "RIOT" framedelta 4.0 loop 1 lockX 0 lockY 0 lockF 0 time -1
0605: actor 304@ perform_animation "RIOT_CHANT" IFP "RIOT" framedelta 4.0 loop 1 lockX 0 lockY 0 lockF 0 time -1

            playeR_car=car.Create(#BF400 , 4637.1357, -1894.8752, 10.396)
            car.Angle(playeR_car)= 182.4456
            car.Health(playeR_car)=6000
            09C4: set_car playeR_car gas_tank_explosion_enabled 0
          marker.CreateAboveCar(asset_marker, playeR_car)
          07E0: set_marker asset_marker type_to 1
          
      
      while true 
      wait 0
      FAIL()

              if
                actor.InCar($player_actor,playeR_car)
              then
                   marker.Disable(asset_marker)   
                      break 
              end
      end
            0ACB: show_styled_text "~w~Follow the ~r~magic box" time 3000 style 6

         1_dummy_object=object.Init(3060, 4623.7783, -1937.7549, 10.5523)
         //0750: set_object 1_dummy_object  visibility 0
         object.ToggleInMovingList(1_dummy_object, true )
         0392: make_object 1_dummy_object moveable 1

         066E: create_particle "smoke_flare" attached_to_object 1_dummy_object with_offset 0.0 0.0  0.0 rotation 0.0 0.0 0.0 flag 2 store_to 1009@
         064C: make_particle 1009@ visible
         marker.CreateAboveObject(1010@,1_dummy_object )
         marker.SetColor(1010@, 2)
        // 018B: set_marker 1010@ radar_mode 2
                  034E: move_object 1_dummy_object to  4639.9043 -1973.345 10.396 speed 2.0 2.0 2.0 collision_check 0
                 
    03C3: set_timer_to $timer type 1 GXT 'BB_19' // global_variable  // Time
   014E: start_timer_at $timer  count_in_direction 0 // global_variable
     $timer = 480000     
          give_points = 0 
          2_checkpoint=0 
      while true 
      wait 0
      FAIL()
    if
    $timer == 0 
    then                                                               
     0ACB: show_styled_text "~W~Time's up!" time  4000 style 6
      jump @END 
    end
      0ADF: add_dynamic_GXT_entry "_mini" text "Checkpoints ~1~/104"

03F0: enable_text_draw 1 
033F: set_text_draw_letter_size 0.5 1.0
0340: set_text_draw_RGBA 255 255 255 255 
0343: set_text_draw_linewidth 1000.0 
0349: set_text_draw_font 1 
081C: draw_text_outline 1 RGBA 0 0 0 255 
 045A: set_draw_text_position 37.0 80.0 GXT '_mini'  2_checkpoint 
      05A8: get_object 1_dummy_object speed_to 1_objectspeed
              if 2_checkpoint == 0 
              then
                034E: move_object 1_dummy_object to 4639.9043 -1973.345 10.396  speed 2.0 2.0 2.0 collision_check 0
                  gosub @Capture 
              end 
              if 2_checkpoint == 1
              then
                034E: move_object 1_dummy_object to  4638.71 -2127.9783 10.3754 speed 2.0 2.0 2.0 collision_check 0
                  gosub @Capture 
              end 
               if 2_checkpoint == 2
              then
                034E: move_object 1_dummy_object to  4581.0264 -2127.3315 10.396  speed 2.0 2.0 2.0 collision_check 0
                 gosub @Capture 
              end     
               if 2_checkpoint == 3
              then
                034E: move_object 1_dummy_object to  4473.0728 -2126.8047 10.396  speed 2.0 2.0 2.0 collision_check 0
                 gosub @Capture 
              end     
               if 2_checkpoint == 4
              then
                034E: move_object 1_dummy_object to  4381.4731 -2127.7148 10.3004  speed 2.0 2.0 2.0 collision_check 0
                 gosub @Capture 
              end     
               if 2_checkpoint == 5
              then
                034E: move_object 1_dummy_object to   4383.3286 -2084.4092 10.396 speed 2.0 2.0 2.0 collision_check 0
                 gosub @Capture 
              end     
               if 2_checkpoint == 6
              then
                034E: move_object 1_dummy_object to   4377.9067 -2041.7346 10.396 speed 2.0 2.0 2.0 collision_check 0
                 gosub @Capture 
              end     
               if 2_checkpoint == 7
              then
                034E: move_object 1_dummy_object to  4309.3247 -2035.6858 10.4754  speed 2.0 2.0 2.0 collision_check 0
                 gosub @Capture 
              end     
               if 2_checkpoint == 8 
              then
                034E: move_object 1_dummy_object to  4239.938 -2031.4309 10.4754  speed 2.0 2.0 2.0 collision_check 0
                 gosub @Capture 
              end     
               if 2_checkpoint == 9
              then
                034E: move_object 1_dummy_object to  4245.3198 -1981.0182 10.4754  speed 2.0 2.0 2.0 collision_check 0
                 gosub @Capture 
              end     
               if 2_checkpoint == 10
              then
                034E: move_object 1_dummy_object to  4225.9756 -1947.4481 10.4754  speed 2.0 2.0 2.0 collision_check 0
                 gosub @Capture 
              end     
               if 2_checkpoint == 11
              then
                034E: move_object 1_dummy_object to  4190.6431 -1947.6321 14.4902  speed 2.0 2.0 2.0 collision_check 0
                 gosub @Capture 
              end     
               if 2_checkpoint == 12
              then
                034E: move_object 1_dummy_object to 4150.2168 -1946.4032 20.096   speed 2.0 2.0 2.0 collision_check 0
                 gosub @Capture 
              end     
               if 2_checkpoint == 13
              then
                034E: move_object 1_dummy_object to 4151.7549 -2016.4283 20.096   speed 2.0 2.0 2.0 collision_check 0
                 gosub @Capture 
              end     
               if 2_checkpoint == 14
              then
                034E: move_object 1_dummy_object to  4145.8931 -2095.0005 20.096  speed 2.0 2.0 2.0 collision_check 0
                 gosub @Capture 
              end     
               if 2_checkpoint == 15
              then
                034E: move_object 1_dummy_object to  4148.2212 -2177.0967 20.096  speed 2.0 2.0 2.0 collision_check 0
                 gosub @Capture 
              end     
               if 2_checkpoint == 16
              then
                034E: move_object 1_dummy_object to  4117.0615 -2208.4678 20.3392  speed 2.0 2.0 2.0 collision_check 0
                 gosub @Capture 
              end     
                if 2_checkpoint == 17
              then
                034E: move_object 1_dummy_object to  4094.7195 -2212.4631 20.3419  speed 2.0 2.0 2.0 collision_check 0
                 gosub @Capture 
              end     
                if 2_checkpoint == 18
              then
                034E: move_object 1_dummy_object to   4082.5261 -2193.3157 20.3419 speed 2.0 2.0 2.0 collision_check 0
                 gosub @Capture 
              end     
                if 2_checkpoint == 19
              then
                034E: move_object 1_dummy_object to   4090.4019 -2157.4436 20.3085 speed 2.0 2.0 2.0 collision_check 0
                 gosub @Capture 
              end     
                if 2_checkpoint == 20
              then
                034E: move_object 1_dummy_object to 4082.6426 -2135.9666 20.3155  speed 2.0 2.0 2.0 collision_check 0
                 gosub @Capture 
              end     
                if 2_checkpoint == 21
              then
                034E: move_object 1_dummy_object to   4070.0171 -2120.8713 13.6754 speed 2.0 2.0 2.0 collision_check 0
                 gosub @Capture 
              end     
                if 2_checkpoint == 22
              then
                034E: move_object 1_dummy_object to 4052.9265 -2101.1248 5.0341  speed 2.0 2.0 2.0 collision_check 0
                 gosub @Capture 
              end     
                if 2_checkpoint == 23
              then
                034E: move_object 1_dummy_object to  4039.6919 -2113.3271 5.0091  speed 2.0 2.0 2.0 collision_check 0
                 gosub @Capture 
              end     
                if 2_checkpoint == 24
              then
                034E: move_object 1_dummy_object to  4038.4646 -2146.9141 5.0012  speed 2.0 2.0 2.0 collision_check 0
                 gosub @Capture 
              end     
                if 2_checkpoint == 25
              then
                034E: move_object 1_dummy_object to 4041.0793 -2191.9509 4.9754  speed 2.0 2.0 2.0 collision_check 0
                 gosub @Capture 
              end     
                if 2_checkpoint == 26 
              then
                034E: move_object 1_dummy_object to 4041.7024 -2242.0278 4.9754   speed 2.0 2.0 2.0 collision_check 0
                 gosub @Capture 
              end     
                if 2_checkpoint == 27
              then
                034E: move_object 1_dummy_object to  4083.0073 -2255.0955 4.9754  speed 2.0 2.0 2.0 collision_check 0
                 gosub @Capture 
              end     
                if 2_checkpoint == 28
              then
                034E: move_object 1_dummy_object to 4123.9907 -2255.8691 4.9754   speed 2.0 2.0 2.0 collision_check 0
                 gosub @Capture 
              end     
                if 2_checkpoint == 29
              then
                034E: move_object 1_dummy_object to 4124.0269 -2293.6333 4.9754   speed 2.0 2.0 2.0 collision_check 0
                 gosub @Capture 
              end     
                 if 2_checkpoint == 30
              then
                034E: move_object 1_dummy_object to 4125.3813 -2321.7107 4.9754  speed 2.0 2.0 2.0 collision_check 0
                 gosub @Capture 
              end     
                 if 2_checkpoint == 31
              then
                034E: move_object 1_dummy_object to  4184.4687 -2315.7026 4.9754  speed 2.0 2.0 2.0 collision_check 0
                 gosub @Capture 
              end     
                 if 2_checkpoint == 32
              then
                034E: move_object 1_dummy_object to  4235.8086 -2310.929 8.2514  speed 2.0 2.0 2.0 collision_check 0
                 gosub @Capture 
              end     
                 if 2_checkpoint == 33
              then
                034E: move_object 1_dummy_object to  4256.9438 -2316.7815 10.4754  speed 2.0 2.0 2.0 collision_check 0
                 gosub @Capture 
              end     
                 if 2_checkpoint == 34
              then
                034E: move_object 1_dummy_object to  4256.8437 -2366.0886 10.4754  speed 2.0 2.0 2.0 collision_check 0
                 gosub @Capture 
              end     
                 if 2_checkpoint == 35
              then
                034E: move_object 1_dummy_object to  4254.4204 -2416.2656 10.396  speed 2.0 2.0 2.0 collision_check 0
                 gosub @Capture 
              end     
                 if 2_checkpoint == 36
              then
                034E: move_object 1_dummy_object to  4263.2222 -2527.6702 10.521  speed 2.0 2.0 2.0 collision_check 0
                 gosub @Capture 
              end     
                 if 2_checkpoint == 37
              then
                034E: move_object 1_dummy_object to  4261.2427 -2608.4087 10.521  speed 2.0 2.0 2.0 collision_check 0
                 gosub @Capture 
              end     
                 if 2_checkpoint == 38
              then
                034E: move_object 1_dummy_object to 4264.3237 -2696.2554 10.4754   speed 2.0 2.0 2.0 collision_check 0
                 gosub @Capture 
              end     
                 if 2_checkpoint == 39
              then
                034E: move_object 1_dummy_object to   4328.9258 -2700.9597 10.521 speed 2.0 2.0 2.0 collision_check 0
                 gosub @Capture 
              end     
                 if 2_checkpoint == 40
              then
                034E: move_object 1_dummy_object to  4380.7588 -2699.1233 10.3254  speed 2.0 2.0 2.0 collision_check 0
                 gosub @Capture 
              end     
                 if 2_checkpoint == 41
              then
                034E: move_object 1_dummy_object to  4379.7627 -2760.8796 10.396  speed 2.0 2.0 2.0 collision_check 0
                 gosub @Capture 
              end     
                 if 2_checkpoint == 42
              then
                034E: move_object 1_dummy_object to  4383.8633 -2859.9436 10.396  speed 2.0 2.0 2.0 collision_check 0
                 gosub @Capture 
              end     
                 if 2_checkpoint == 43
              then
                034E: move_object 1_dummy_object to  4360.6182 -2894.1104 10.396  speed 2.0 2.0 2.0 collision_check 0
                 gosub @Capture 
              end     
                 if 2_checkpoint == 44
              then
                034E: move_object 1_dummy_object to 4300.4302 -2935.7239 10.396   speed 2.0 2.0 2.0 collision_check 0
                 gosub @Capture 
              end     
                 if 2_checkpoint == 45
              then
                034E: move_object 1_dummy_object to  4257.7881 -2966.6506 10.3254  speed 2.0 2.0 2.0 collision_check 0
                 gosub @Capture 
              end     
                 if 2_checkpoint == 46
              then
                034E: move_object 1_dummy_object to  4251.6895 -3026.4973 10.396  speed 2.0 2.0 2.0 collision_check 0
                 gosub @Capture 
              end     
                 if 2_checkpoint == 47
              then
                034E: move_object 1_dummy_object to  4253.5894 -3091.7561 10.3504  speed 2.0 2.0 2.0 collision_check 0
                 gosub @Capture 
              end     
                 if 2_checkpoint == 48
              then
                034E: move_object 1_dummy_object to 4278.25 -3132.4141 10.4742  speed 2.0 2.0 2.0 collision_check 0
                 gosub @Capture 
              end     
                 if 2_checkpoint == 49
              then
                034E: move_object 1_dummy_object to   4310.2886 -3174.5969 10.5611 speed 2.0 2.0 2.0 collision_check 0
                 gosub @Capture 
              end     
                 if 2_checkpoint == 50
              then
                034E: move_object 1_dummy_object to  4314.0767 -3262.6226 10.5611  speed 2.0 2.0 2.0 collision_check 0
                 gosub @Capture 
              end     
                 if 2_checkpoint == 51
              then
                034E: move_object 1_dummy_object to 4318.7046 -3346.575 10.5611   speed 2.0 2.0 2.0 collision_check 0
                 gosub @Capture 
              end     
                 if 2_checkpoint == 52
              then
                034E: move_object 1_dummy_object to 4329.5283 -3386.8086 10.3254   speed 2.0 2.0 2.0 collision_check 0
                 gosub @Capture 
              end     
                 if 2_checkpoint == 53
              then
                034E: move_object 1_dummy_object to   4332.9097 -3418.2256 10.3601 speed 2.0 2.0 2.0 collision_check 0
                 gosub @Capture 
              end     
                 if 2_checkpoint == 54
              then
                034E: move_object 1_dummy_object to   4375.1069 -3420.5903 10.3601 speed 2.0 2.0 2.0 collision_check 0
                 gosub @Capture 
              end     
                 if 2_checkpoint == 55 
              then
                034E: move_object 1_dummy_object to   4478.0474 -3421.9404 10.3601 speed 2.0 2.0 2.0 collision_check 0
                 gosub @Capture 
              end  
                 if 2_checkpoint == 56
              then
                034E: move_object 1_dummy_object to 4548.6533 -3425.7627 10.4754 speed 2.0 2.0 2.0 collision_check 0
                 gosub @Capture 
              end                  
                 if 2_checkpoint == 57
              then
                034E: move_object 1_dummy_object to  4601.0884 -3428.801 10.4754 speed 2.0 2.0 2.0 collision_check 0
                 gosub @Capture 
              end                  
                 if 2_checkpoint == 58
              then
                034E: move_object 1_dummy_object to 4623.2183 -3372.2771 10.4754  speed 2.0 2.0 2.0 collision_check 0
                 gosub @Capture 
              end                  
                 if 2_checkpoint == 59
              then
                034E: move_object 1_dummy_object to  4638.0044 -3362.5808 10.396 speed 2.0 2.0 2.0 collision_check 0
                 gosub @Capture 
              end                  
                 if 2_checkpoint == 60
              then
                034E: move_object 1_dummy_object to 4643.002 -3395.0559 10.3504  speed 2.0 2.0 2.0 collision_check 0
                 gosub @Capture 
              end                  
                 if 2_checkpoint == 61
              then
                034E: move_object 1_dummy_object to 4745.418 -3399.7241 10.396  speed 2.0 2.0 2.0 collision_check 0
                 gosub @Capture 
              end                  
                 if 2_checkpoint == 62
              then
                034E: move_object 1_dummy_object to 4904.7603 -3394.0151 10.396  speed 2.0 2.0 2.0 collision_check 0
                 gosub @Capture 
              end                  
                 if 2_checkpoint == 63
              then
                034E: move_object 1_dummy_object to 5004.396 -3345.9692 10.5051  speed 2.0 2.0 2.0 collision_check 0
                 gosub @Capture 
              end                  
                 if 2_checkpoint == 64
              then
                034E: move_object 1_dummy_object to  5061.5391 -3293.6626 10.6061 speed 2.0 2.0 2.0 collision_check 0
                 gosub @Capture 
              end                  
                 if 2_checkpoint == 65
              then
                034E: move_object 1_dummy_object to 5092.6548 -3209.8611 10.5479  speed 2.0 2.0 2.0 collision_check 0
                 gosub @Capture 
              end                  
                 if 2_checkpoint == 66
              then
                034E: move_object 1_dummy_object to 5147.8755 -3182.2114 10.5569  speed 2.0 2.0 2.0 collision_check 0
                 gosub @Capture 
              end                  
                 if 2_checkpoint == 67
              then
                034E: move_object 1_dummy_object to 5228.7261 -3146.9763 10.5519  speed 2.0 2.0 2.0 collision_check 0
                 gosub @Capture 
              end
                 if 2_checkpoint == 68
              then
                034E: move_object 1_dummy_object to 5251.0537 -3050.4099 10.5565  speed 2.0 2.0 2.0 collision_check 0
                 gosub @Capture 
              end                  
                 if 2_checkpoint == 69
              then
                034E: move_object 1_dummy_object to 5248.1665 -2962.2083 10.5426  speed 2.0 2.0 2.0 collision_check 0
                 gosub @Capture 
              end                  
                 if 2_checkpoint == 70
              then
                034E: move_object 1_dummy_object to  5250.0171 -2897.959 10.5568 speed 2.0 2.0 2.0 collision_check 0
                 gosub @Capture 
              end                  
                 if 2_checkpoint == 71
              then
                034E: move_object 1_dummy_object to  5262.1094 -2856.2734 10.5497 speed 2.0 2.0 2.0 collision_check 0
                 gosub @Capture 
              end                  
                 if 2_checkpoint == 72
              then
                034E: move_object 1_dummy_object to 5307.1172 -2838.9006 10.5525  speed 2.0 2.0 2.0 collision_check 0
                 gosub @Capture 
              end                  
                 if 2_checkpoint == 73
              then
                034E: move_object 1_dummy_object to 5363.8892 -2791.406 11.0654  speed 2.0 2.0 2.0 collision_check 0
                 gosub @Capture 
              end                  
                 if 2_checkpoint == 74
              then
                034E: move_object 1_dummy_object to 5371.4097 -2682.6384 11.065  speed 2.0 2.0 2.0 collision_check 0
                 gosub @Capture 
              end                  
                 if 2_checkpoint == 75
              then
                034E: move_object 1_dummy_object to  5391.9189 -2600.0544 10.5026 speed 2.0 2.0 2.0 collision_check 0
                 gosub @Capture 
              end                  
                 if 2_checkpoint == 76
              then
                034E: move_object 1_dummy_object to  5354.9565 -2549.7117 10.5001 speed 2.0 2.0 2.0 collision_check 0
                 gosub @Capture 
              end                  
                 if 2_checkpoint == 77
              then
                034E: move_object 1_dummy_object to  5353.4189 -2482.7378 10.5569 speed 2.0 2.0 2.0 collision_check 0
                 gosub @Capture 
              end                  
                 if 2_checkpoint == 78
              then
                034E: move_object 1_dummy_object to 5346.1704 -2414.8716 10.5557  speed 2.0 2.0 2.0 collision_check 0
                 gosub @Capture 
              end                  
                 if 2_checkpoint == 79
              then
                034E: move_object 1_dummy_object to 5363.4468 -2365.7319 10.4752  speed 2.0 2.0 2.0 collision_check 0
                 gosub @Capture 
              end                  
                 if 2_checkpoint == 80
              then
                034E: move_object 1_dummy_object to  5369.9277 -2296.0273 10.533 speed 2.0 2.0 2.0 collision_check 0
                 gosub @Capture 
              end                  
                 if 2_checkpoint == 81
              then
                034E: move_object 1_dummy_object to 5353.7998 -2263.2095 11.295  speed 2.0 2.0 2.0 collision_check 0
                 gosub @Capture 
              end                  
                  if 2_checkpoint == 82
              then
                034E: move_object 1_dummy_object to 5353.7876 -2171.4023 16.9935  speed 2.0 2.0 2.0 collision_check 0
                 gosub @Capture 
              end                  
                  if 2_checkpoint == 83
              then
                034E: move_object 1_dummy_object to  5396.98 -2169.3005 16.9917 speed 2.0 2.0 2.0 collision_check 0
                 gosub @Capture 
              end                  
                  if 2_checkpoint == 84
              then
                034E: move_object 1_dummy_object to  5398.9434 -2278.5386 23.3855 speed 2.0 2.0 2.0 collision_check 0
                 gosub @Capture 
              end                  
                  if 2_checkpoint == 85
              then
                034E: move_object 1_dummy_object to  5353.1401 -2279.4282 23.3982 speed 2.0 2.0 2.0 collision_check 0
                 gosub @Capture 
              end                  
                  if 2_checkpoint == 86
              then
                034E: move_object 1_dummy_object to  5352.7261 -2168.0503 29.7785 speed 2.0 2.0 2.0 collision_check 0
                 gosub @Capture 
              end                  
                  if 2_checkpoint == 87
              then
                034E: move_object 1_dummy_object to 5396.8398 -2170.6565 29.7965  speed 2.0 2.0 2.0 collision_check 0
                 gosub @Capture 
              end                  
                 if 2_checkpoint == 88
              then
                034E: move_object 1_dummy_object to  5396.0791 -2277.2795 36.1884 speed 2.0 2.0 2.0 collision_check 0
                 gosub @Capture 
              end                  
                  if 2_checkpoint == 89
              then
                034E: move_object 1_dummy_object to 5356.126 -2277.0605 36.1948  speed 2.0 2.0 2.0 collision_check 0
                 gosub @Capture 
              end                  
                  if 2_checkpoint == 90
              then
                034E: move_object 1_dummy_object to  5342.48 -2168.0923 42.5718 speed 2.0 2.0 2.0 collision_check 0
                 gosub @Capture 
              end                  
                 if 2_checkpoint == 91
              then
                034E: move_object 1_dummy_object to 5335.3774 -2095.4297 31.1882   speed 2.0 2.0 2.0 collision_check 0  //this is where i land it 
                 gosub @Capture 
              end                  
                 if 2_checkpoint == 92
              then
                034E: move_object 1_dummy_object to 5334.5684 -2074.2097 27.1991  speed 2.0 2.0 2.0 collision_check 0    //misplaced
                 gosub @Capture 
              end                  
                 if 2_checkpoint == 93
              then
                034E: move_object 1_dummy_object to 5332.2144 -2066.4426 10.5353  speed 2.0 2.0 2.0 collision_check 0
                 gosub @Capture 
              end                  
                 if 2_checkpoint == 94
              then
                034E: move_object 1_dummy_object to 5410.8374 -2037.319 10.5534  speed 2.0 2.0 2.0 collision_check 0
                 gosub @Capture 
              end                  
                 if 2_checkpoint == 95
              then
                034E: move_object 1_dummy_object to 5450.8857 -2028.8503 10.4031  speed 2.0 2.0 2.0 collision_check 0
                 gosub @Capture 
              end                  
                 if 2_checkpoint == 96
              then
                034E: move_object 1_dummy_object to  5459.2217 -1951.4716 10.456 speed 2.0 2.0 2.0 collision_check 0
                 gosub @Capture 
              end                  
                 if 2_checkpoint == 97
              then
                034E: move_object 1_dummy_object to 5448.4561 -1884.2443 10.4991  speed 2.0 2.0 2.0 collision_check 0
                 gosub @Capture 
              end                  
                 if 2_checkpoint == 98
              then
                034E: move_object 1_dummy_object to 5402.9595 -1846.0216 10.4755  speed 2.0 2.0 2.0 collision_check 0
                 gosub @Capture 
              end                  
                 if 2_checkpoint == 99
              then
                034E: move_object 1_dummy_object to 5349.2832 -1816.6421 10.4753  speed 2.0 2.0 2.0 collision_check 0
                 gosub @Capture 
              end                  
                 if 2_checkpoint == 100
              then
                034E: move_object 1_dummy_object to  5241.9487 -1814.2087 10.4342 speed 2.0 2.0 2.0 collision_check 0
                 gosub @Capture 
              end                  
                 if 2_checkpoint == 101
              then
                034E: move_object 1_dummy_object to  5162.0962 -1816.3192 10.4304 speed 2.0 2.0 2.0 collision_check 0
                 gosub @Capture 
              end                  
                 if 2_checkpoint == 102
              then
                034E: move_object 1_dummy_object to  5137.0693 -1801.9369 10.419 speed 2.0 2.0 2.0 collision_check 0
                 gosub @Capture 
              end                  
                 if 2_checkpoint == 103
              then
                034E: move_object 1_dummy_object to  5113.6543 -1802.0282 16.5231 speed 2.0 2.0 2.0 collision_check 0
                 gosub @Capture 
              end                  
                 if 2_checkpoint == 104
              then
                034E: move_object 1_dummy_object to 5112.8691 -1801.7864 16.4944   speed 2.0 2.0 2.0 collision_check 0
                 gosub @Capture 
              end                  
                         
                                  
          if and
          32@ > 500
          1_objectspeed == 0 
          0474:   actor $PLAYER_ACTOR near_object_in_cube 1_dummy_object radius 7.5 7.5 7.5 sphere 0
          05A3:   object 1_dummy_object stopped
          then
          32@ = 0 
              018C: play_sound 1052 at 0.0 0.0 0.0

              
              if 2_checkpoint > 104
              then
              2_checkpoint = 0 
              else
              2_checkpoint += 1 
              end 
          end 
          
          
         if 2_checkpoint >= 104
         then
         04C4: store_coords_to 141@ 151@ 161@ from_actor $PLAYER_ACTOR with_offset 0.0 7.0 5.0 
         015F: set_camera_position  5108.6782 -1819.6472 9.345 rotation 0.0 0.0 0.0 
        0159: camera_on_ped $PLAYER_ACTOR mode 15 switchstyle 2       
        015D: set_gamespeed 0.3
        064B: 202@ = create_particle "smoke_flare" at  5112.5737 -1800.39 16.7313   type 1
        064B: 203@ = create_particle "smoke_flare" at  5112.2095 -1802.3496 16.4944   type 1
        064C: make_particle 202@ visible
        064C: make_particle 203@ visible

         wait 3000
      
         0362: remove_actor $PLAYER_ACTOR from_car_and_place_at    5076.3813 -1808.1971 4.3991
         actor.Angle($PLAYER_ACTOR)  = 180.1718
         if 0800:   in_two_players_mode
         then
         0362: remove_actor $SECOND_PLAYER_ACTOR  from_car_and_place_at   5074.7847 -1809.1487 4.3991
         actor.Angle($SECOND_PLAYER_ACTOR)  = 180.1718         
         end 
         0ACB: show_styled_text "~w~You made it!" time 3000 style 6
         018C: play_sound 1052 at 0.0 0.0 0.0

         object.Destroy(1_dummy_object)
         0650: destroy_particle 202@
         0650: destroy_particle 203@
                 015D: set_gamespeed 1.0
                 0109: player $PLAYER_CHAR money += 75000

            jump @end
         end  
      end 
jump @END 

:FAIL
if or 
0ADC:   test_cheat "exit"
wasted_or_busted
car.Wrecked(playeR_car)
02BF:   car playeR_car sunk

then
 0ACD: show_text_highpriority "~r~You failed!" time 4000

jump @END 
end 


return

:CREATE_WAYPOINT


return 

:CLEAR_WAYPOINT
if 075C:   marker 1_ASSET_WAYPOINT enabled
then
   marker.Disable(1_ASSET_WAYPOINT)
end 

return 
:Capture


 give_points += 1 
return 

:end 
 CLEAR_WAYPOINT()
 $onmission = 0  
 014F: stop_timer $timer
  
04EF: release_animation "RIOT"

mission_cleanup
end_thread
